package net.qhzw.vip.qiyu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import net.qhzw.vip.qiyu.entity.DtsUser;
import net.qhzw.vip.qiyu.entity.MallUserVip;
import net.qhzw.vip.qiyu.util.PageParam;

public interface MallUserVipService extends IService<MallUserVip> {


    int selectUserVip(Long userId, Long shopId);

    int getVIPbyProdId(Long userId, Long prodId);

    void del(Long userId, Long shopId);

    void setVIP(Long userId, Long shopId);

    IPage<DtsUser>  findByPage(Long shopId, PageParam<DtsUser> page, String name, Integer isVip);
}
